package com.example.boot.pojo.vo.service;

import com.example.boot.netty.entity.ChatMessage;
import io.netty.channel.Channel;

import java.util.List;

public interface UserChatService {
    /**
     * 保存消息
     * @param chatMsg
     * @return
     */
    String saveMsg(ChatMessage chatMsg);

    void updateMsgSigned(List<String>  msgIdList);

    void rocketMQMsgText(String msgText);

    void set(String senderId, String channel);

    String get(String receiverId);
}
